package org.ogv.tween.ease;

import org.ogv.tween.EaseFunc;

public class EaseLinear implements EaseFunc {

	@Override
	public float getTweenedVal(float curTime, float startVal, float deltaVal, float duration) {
		float cur = duration <= 0 ? 0 : curTime/duration;
		return startVal + deltaVal * cur;
	}

}
